package cn.cdyx.common.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel("住院病人信息表")
@Data
@TableName("TBZYBR")
public class TBZYBR implements Serializable {
    @ApiModelProperty("住院号，主键")
    @TableId
    private String CZYH;
    @ApiModelProperty("中途结账次数")
    private Integer IZTJZCS;
    @ApiModelProperty("医疗号")
    private String CYLH;
    @ApiModelProperty("病案号")
    private String CBAH;
    @ApiModelProperty("医保号")
    private String CYBH;
    @ApiModelProperty("病人ID")
    private String CBRID;
    @ApiModelProperty("姓名")
    private String CXM;
    @ApiModelProperty("性别")
    private String CXB;
    @ApiModelProperty("年龄")
    private String CNL;
    @ApiModelProperty("出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private long DCSNY;
    @ApiModelProperty("工作单位")
    private String CGZDW;
    @ApiModelProperty("收费种类编码")
    private Integer ISFZL;
    @ApiModelProperty("收费种类编码")
    private String CSFZL;
    @ApiModelProperty("收费方式")
    private Integer ISFFS;
    @ApiModelProperty("收费方式")
    private String CSFFS;
    @ApiModelProperty("病区编码")
    private Integer IZYBQ;
    @ApiModelProperty("病区名称")
    private String CZYBQ;
    @ApiModelProperty("科室编码")
    private Integer IZYKS;
    @ApiModelProperty("科室名称")
    private String CZYKS;
    @ApiModelProperty("医生编码")
    private Integer IZYYS;
    @ApiModelProperty("医生名称")
    private String CZYYS;
    @ApiModelProperty("门诊科室编码")
    private Integer IMZKS;
    @ApiModelProperty("门诊科室名称")
    private String CMZKS;
    @ApiModelProperty("门诊医生编码")
    private Integer IMZYS;
    @ApiModelProperty("门诊医生")
    private String CMZYS;
    @ApiModelProperty("住院床位编码")
    private Integer IZYCW;
    @ApiModelProperty("住院床位名称")
    private String CZYCW;
    @ApiModelProperty("记账限额")
    private BigDecimal MJZXE;
    @ApiModelProperty("出生日期")
    private BigDecimal MCKXE;
    @ApiModelProperty("结账日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DJZRQ;
    @ApiModelProperty("无床标记 1无床 0有床")
    private Integer IWCBJ;
    private String CRYCZYGH;
    private String CRYCZY;
    private String CCYCZYGH;
    private String CCYCZY;
    private String CCZYGHWJZ;
    private String CCZYWJZ;
    private String CSJH;
    @ApiModelProperty("入院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DRYSJ;
    @ApiModelProperty("出院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DCYSJ;
    @ApiModelProperty("未结账出院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DWJZCY;
    private String CPYM;
    private String CWBM;
    private String CFPH;
    private Integer IRYCS;
    private Integer IBCCS;
    private BigDecimal MBCJE;
    private Integer ICYJSZL;
    private String CBZ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DSCZTJZSJ;
    private boolean BDD;
    private String CDBR;
    private BigDecimal MDBJE;
    private String CRYBZ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DDJSJ;
    private String CGSBM;
    private String CGSMC;
    private String CSJYSBM;
    private String CSJYSMC;
    private String CQFYY;
    private boolean BQFBZ;
    private boolean BJZFP;
    private BigDecimal MYGFY;
    private String CBRTSBZ;
}
